package com.bizframework.springhb.support.serialization.xstream.converter;

import org.hibernate.collection.PersistentMap;

import com.thoughtworks.xstream.converters.collections.MapConverter;
import com.thoughtworks.xstream.mapper.Mapper;

public class HibernateMapConverter extends MapConverter {

	public HibernateMapConverter(Mapper mapper) {
		super(mapper);
	}

	public boolean canConvert(@SuppressWarnings("rawtypes") Class type) {
		return super.canConvert(type) || type == PersistentMap.class;
	}
}
